﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public static string a = "Строка";
        public Form1()
        {
            InitializeComponent();
        }
        public static void fn(int x)
        {
            a = Convert.ToString(x);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form2 Form2 = new Form2(a);
            Form2.Show();
        }
    }
}
